home *** CD-ROM | disk | FTP | other *** search
/ QRZ! Ham Radio 6 / QRZ Ham Radio Callsign Database - Volume 6.iso / pc / files / amiga / cdoc720j.lzh / phone.doc < prev    next >
Encoding:
Text File  |  1993-08-25  |  4.7 KB  |  99 lines

  1. NOTE that in the distributed config.mb both ports A and B and are defined
  2. to use the same serial port. C-BBS only uses whichever port descriptor you
  3. tell it to use. So if you start it up with port A, it will ignore port B.
  4. The port B configuration is for a telephone modem and if you
  5. start up 'mb' and tell it to use port B it will ignore port A.
  6. This allows you to have a description of both types of port (A is a TNC and
  7. B is a modem) in one config.mb file.
  8.  
  9. Briefly, here's how to set up a line that uses a telephone modem.
  10.  
  11. First, the modem MUST have the Carrier Detect signal (Pin 8) wired up to the
  12. computer. This is required so that the computer can detect when someone
  13. hangs up before using the Bye command. The Amiga also needs to see the DSR
  14. signal (Pin 6). The easiest way to wire up the modem is to use a 25
  15. conductor ribbon cable. If you are using an Amiga 500, A2000 or A3000 you
  16. must NOT plug a DB-25 connector into the serial port while the computer is
  17. turned on unless the connector is made entirely of plastic.
  18. If the connector has a metal shell, the shell can short pin 9 or 10 to the
  19. case. If you short pin 10 you will probably only crash the computer. But if
  20. you short Pin 9, you'll blow a fuse inside the Amiga. The fuse costs about
  21. $3. The labour to replace it costs about $85 (Canadian)! So be cautious.
  22.  
  23. Second, the modem MUST have HAYES compatible commands and be set up so that
  24. it uses +++ as its escape sequence.
  25.  
  26. Then the port is configured in config.mb like this:
  27.  
  28. BL23IDS 500 20 600 100 20 4  5 8 15       0 serial.device
  29. -> Telephone
  30.  
  31. The port MUST have Line Feed echo ('L') enabled but it must NOT have
  32. normal character echo enabled ('E').
  33. The "0 serial.device" at the end of the line should be changed, if
  34. necessary, to the correct unit number and device name of the port you are
  35. using for the phone. Alternatively, you can use the -n and -u arguments when
  36. you start up the 'mb' program.
  37.  
  38. When the program is started you must specify the -pP argument so that the
  39. program knows which port to use. In the example above you could use:
  40.  
  41. run mb -n serial.device -u0 -pB
  42.  
  43.  
  44. The port must have 'E' for local echo of the commands to the console.
  45. It is best to have 'I' set to kick off illegal callsigns. There is currently
  46. no way to provide password checking and the program cannot be used to accept
  47. a phone forward from an FBB system.
  48.  
  49. If the BBS detects that it is starting up a port with a modem (i.e. the
  50. letter 'S' is specified) then when it does the initialization and
  51. termination using tnc.on.b and tnc.off.b, it bypasses the code that would
  52. have also tried to get the pass character from a TNC. Your tnc.off.b and
  53. tnc.on.b files can contain any valid Hayes compatible commands and each
  54. command line MUST start with "AT" or the Hayes will ignore it. The program
  55. forces S0=2 after it has done tnc.on.b and forces S0=0 after tnc.off.b
  56.  
  57. I have used port B as an example above. If you use some other letter, then
  58. the names of the tnc.on and tnc.off files will change.
  59.  
  60. A user who calls in, must first have a terminal emulator program that can do
  61. local echo and also echo a Carriage return as CR/LF. When they see the
  62. CONNECT message from their modem, they must type the connected message
  63. containing their callsign that a TNC would have sent the program, so if I
  64. were logging in through a modem, I would type:
  65.  
  66. *** CONNECTED to VE5VA
  67.  
  68. and then the BBS will log me in. Once logged in, a user can type any of the
  69. commands that they would type if they were on packet.
  70.  
  71.  
  72. If the sysop types the control-E command to the 'mb' program, the BBS sends
  73. a "ATS0=0" to prevent the modem answering the phone while the sysop is on
  74. the system and when the sysop types the Bye command, the BBS sends "ATS0=2"
  75. to allow the modem to answer the phone again. I have used S0=2 because I may
  76. eventually do something about modems that provide caller-id (but don't count
  77. on it!).
  78.  
  79.  
  80. WARNING: For some strange reason, Commodore has tied the Ring Indicator from
  81. the modem to the Select pin of the parallel printer port. Strange things
  82. can happen to you when you are using the printer and a modem at the same
  83. time. When somebody phones in, the RI lines goes on and off and this turns
  84. the printer select line on and off. So if you are printing at the same time,
  85. your printer may stop and report an error. At the moment I am not sure how
  86. to solve this other than to suggest that you do NOT hook up the Ring
  87. Indicate pin (Pin 22) to the Amiga. C-BBS does not need this pin at all.
  88. For a modem connection, the minimum connection to your modem should be:
  89.  
  90.    AMIGA   MODEM
  91.      2 -----  2 TXD
  92.      3 -----  3 RXD
  93.      4 -----  4 RTS
  94.      5 -----  5 CTS
  95.      6 -----  6 DSR       (AMIGA must see this one)
  96.      7 -----  7 GND
  97.      8 -----  8 DCD       (Need this one to handle hangup)
  98.     20 ----- 20 DTR       (Your modem might not need this one)
  99.